package com.prj.ufdm.web;

import java.util.HashMap;
import java.util.Map;
import com.prj.ufdm.core.util.UfdmRequestHttpUtil;
import com.prj.ufdm.web.security.ScyConstants;

public class Test {
	
	public static void main(String[] args) throws Exception {
		
		String reqUrl = "http://localhost:9000/sysuser/login";
		
		Map<String,String> reqHeadMap = new HashMap<String,String>();
//		reqHeadMap.put(ScyConstants.AUTH_USER_TOKEN, "7F87C5A2A14A43FEBB18B1F4FBBC4645——");
		Map<String,String> reqParamMap = new HashMap<String,String>();
		reqParamMap.put("username", "admin");
		reqParamMap.put("password", "888888");
		
		System.out.println(UfdmRequestHttpUtil.postParam(reqUrl, reqHeadMap, reqParamMap, "utf-8"));
	}
	
}
